POV-Ray : Newsgroups : povray.general : converting rgb to spectra : Re: converting rgb to spectra Server Time
9 Aug 2024 03:23:54 EDT (-0400)
  Re: converting rgb to spectra  
From: David Fontaine
Date: 21 Aug 2000 18:15:50
Message: <39A1A7FA.53ED54C8@faricy.net>
Chris Huff wrote:

> I think it would be very useful to have rgb2hls() and hls2rgb()
> functions, and similar ones for HSV and other color spaces. These could
> also be useful post_process filters. The only thing stopping me from
> writing them is a lack of knowledge of how to convert between them.

I wrote a macro to do RGB<->HLS...

--
David Fontaine   <dav### [at] faricynet>   ICQ 55354965
Please visit my website:  http://davidf.faricy.net/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.